<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <title>我的问答</title>
    <div data-th-replace="layout/head"></div>
</head>
<body>
<!-- top bar -->
<header class="bar bar-nav">
    <a class="button button-link button-nav pull-left goBack" th:href="@{/mobile/uc/index}">
        <span class="iconfont icon-fanhui"></span>
    </a>
    <h1 class='title title-white'>我的问答</h1>
    <a href="javascript:;" class="button button-link qaEarning button-nav pull-right mr5">
        <span class="fs6 c-orange vam ">问答收益</span>
        <em class="icon icon-right c-orange" style="font-size: .4rem;"></em>
    </a>
</header>
<!-- top bar end-->

<div class="content ovf">
    <div class="wm-buttons-tab__wrap">
        <div class="buttons-tab wm-buttons-tab">
            <a href="#" id="btn1" data-type="1" class="tab-link button">提问-免费</a>
            <a href="#" id="btn2" data-type="2" class="tab-link button active">我回答的</a>
            <a href="#" id="btn3" data-type="3" class="tab-link button">提问-付费</a>
            <a href="#" id="btn4" data-type="4" class="tab-link button">我围观的</a>
        </div>
    </div>
    <form id="question-form">
        <!-- 查询类型：1.查询我提问的  2.查询我回答(围观)的 -->
        <input type="hidden" id="queryType" name="queryType" value="2"/>
    </form>
    <div class="page-infinite__wrap courses-list-page__wrap">
        <div class="tabs page page-current" id="page-infinite-scroll-bottom">
            <section class="wm-line"></section>
            <div class="tab content infinite-scroll native-scroll active" data-type="native" data-distance="100">
                <div class="pb5 mb5">
                    <div class="ml5 mr5 pt5">
                        <strong class="fs6 c-333" id="count"></strong>
                    </div>
                    <ul class="list-container wm-question-list__wrap facebook-card" id="question-list-content">

                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<div data-th-replace="layout/footer"></div>
<script type="text/javascript" th:src="@{{path}/front/mobile/business/qa/question/my/qa-myQuestion.js?v={v}(path=${staticPath},v=${v})}"></script>
<script th:inline="javascript" type="text/javascript">
    $("body").on("click",".qaEarning",function () {
        //$.toast("没有生效!");
        window.location.href=baseloaction+'/mobile/uc/qa/myQaProfit'
    });
</script>
</body>
</html>